package com.kingsoft.miot.bridge.pojo.device;

import java.util.Date;

/**
 * 设备信息
 * 
 * @author HUJIANQING
 *
 */
public class DeviceInfo {

	private int device_id;
	// control unit id
	private long device_control_unit_id;
	// room id
	private int device_room_id;
	// 设备名称
	private String device_name;
	// 设备图标
	private String device_ico;
	// 设备状态
	private String device_status;
	// 设备信息
	private String device_msg;
	// 上次使用时间
	private Date device_last_use;
	// 设备添加时间
	private Date device_create;
	// 设备信息更新时间
	private Date device_update;

	public int getDevice_id() {
		return device_id;
	}

	public void setDevice_id(int device_id) {
		this.device_id = device_id;
	}

	public long getDevice_control_unit_id() {
		return device_control_unit_id;
	}

	public void setDevice_control_unit_id(long device_control_unit_id) {
		this.device_control_unit_id = device_control_unit_id;
	}

	public int getDevice_room_id() {
		return device_room_id;
	}

	public void setDevice_room_id(int device_room_id) {
		this.device_room_id = device_room_id;
	}

	public String getDevice_name() {
		return device_name;
	}

	public void setDevice_name(String device_name) {
		this.device_name = device_name;
	}

	public String getDevice_ico() {
		return device_ico;
	}

	public void setDevice_ico(String device_ico) {
		this.device_ico = device_ico;
	}

	public String getDevice_status() {
		return device_status;
	}

	public void setDevice_status(String device_status) {
		this.device_status = device_status;
	}

	public String getDevice_msg() {
		return device_msg;
	}

	public void setDevice_msg(String device_msg) {
		this.device_msg = device_msg;
	}

	public Date getDevice_last_use() {
		return device_last_use;
	}

	public void setDevice_last_use(Date device_last_use) {
		this.device_last_use = device_last_use;
	}

	public Date getDevice_create() {
		return device_create;
	}

	public void setDevice_create(Date device_create) {
		this.device_create = device_create;
	}

	public Date getDevice_update() {
		return device_update;
	}

	public void setDevice_update(Date device_update) {
		this.device_update = device_update;
	}

	@Override
	public String toString() {
		return "DeviceInfo [device_id=" + device_id + ", device_control_unit_id=" + device_control_unit_id
				+ ", device_room_id=" + device_room_id + ", device_name=" + device_name + ", device_ico=" + device_ico
				+ ", device_status=" + device_status + ", device_msg=" + device_msg + ", device_last_use="
				+ device_last_use + ", device_create=" + device_create + ", device_update=" + device_update + "]";
	}

}
